<template>
  <div class="wrapper">
    <img :src="errorImg" alt="" class="error-img" />
    <p class="text">错误页面</p>
  </div>
</template>

<script>
export default {
  name: "ErrorPage",
  data() {
    return {
      errorImg: require("@/assets/images/error.png"),
    };
  },
};
</script>

<style lang="scss" scoped>
.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;

  .error-img {
    width: 400px;
  }

  .text {
    font-size: 32px;
    font-weight: 500;
  }
}
</style>
